<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class Db_Db
{
    public static function conn()
    {
        try
        {
            $connParams = array("host" => "localhost"
                                ,"port" => "3306"
                                ,"username" => "root"
                                ,"password" => ""
                                ,"dbname" => "zendaplicacion");
            $db = new Zend_Db_Adapter_Pdo_Mysql($connParams);
        }
        catch(Zend_Db_Exception $e)
        {
            echo $e->getMessage();
        }
        
        $db = new Zend_Db_Adapter_Pdo_Mysql($connParams);
        return $db;

    }
}


?>
